package com.jf.design.strategy.impl;

import com.jf.design.strategy.StrategyPattern;
import com.jf.design.strategy.bean.BaseParamA;
import com.jf.design.strategy.bean.ResultSet;
import com.jf.design.strategy.bean.StrategyNameEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author Yunfeng
 */
@Slf4j
@Service
public class StrategyA implements StrategyPattern<BaseParamA, ResultSet> {

    @Override
    public StrategyNameEnum getStrategyName() {
        return StrategyNameEnum.STRATEGY_A;
    }

    @Override
    public ResultSet execute(BaseParamA baseParams) {
        return null;
    }
}
